/* Copyright DTCC 2016 All Rights Reserved.
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
           http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License
*/

html * {
    /*font-family: 'Lalezar', cursive;*/
    /*font-family: "Arial Unicode MS";*/
    font-family: "LiSu";
}

h1 {
    width: 100%;
}

.Header {
    background-color: black;
    background-image: url('image.png');
    background-size: 50% 350%;
    background-position: -30px -200px;
    text-align: center;
    width: 100%;
    padding-bottom: 30px;
    font-size: 250%!important;
    font-style: normal;
    padding-top: 30px;
    padding-right: 35%;
    margin-top: -10px;
    color: yellow;
}

.HeaderImgStyle {
    width: 80px;
    height: 80px;
    align: bottom;
}

.Navigation {
    box-shadow: 3px 3px 3px #02090f;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    border-radius: 5px;
    //background-color: #103e69;
    background-color: rgb(61, 61, 61);
    list-style-type: none;
    padding: 0;
    float: left;
    font-size: 120%;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: -25px;
    line-height: 40px;
    display: block;
    margin-bottom: 30px;
}

.Navigation li {
    display: inline;
    padding-left: 5px;
    padding-right: 5px;
}

.Navigation a {
    text-decoration: none;
    color: #FFFFFF;
    padding: 10px 10px 10px 10px;
}

.Navigation a:hover {
    background-color: #1F242B;
    border-style: initial;
    border-radius: 5px;
}

.Navigation li:before {
    content: "|  ";
}

.Navigation li:first-child:before {
    content: none;
}

.menu-trigger {
    display: none;
    background-color: #1f242b;
    margin-left: 5%;
    margin-right: 5%;
    border-radius: 5px;
    max-width: 90%;
    margin-bottom: -3px;
    padding: 3px;
    text-align: left;
    padding-left: 15px;
    padding-top: 5px;
}

.menu-button {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 120px;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media screen and (max-width: 600px) {
    .Navigation {
        float: none;
        line-height: 20px;
        display: none;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        background-color: #1f242b;
        margin-top: 0px !important;
        padding-top: 10px !important;
    }
    .Navigation li {
        display: block;
        padding-bottom: 15px;
    }
    .Navigation li:before {
        content: none;
    }
    .menu-trigger {
        display: block;
    }
}

section {
    /*border: 3px double gold;*/
    display: block;
}

.Block {
    background-color: #000;
    border-radius: 5px;
    float: left;
    max-width: 52%;
    height: auto;
    min-height: 600px;
    margin-left: 5%;
    margin-top: 1%;
    margin-bottom: 30px;
    width: 52.5%;
    padding-bottom: 15px;
    position: relative;
    box-shadow: 3px 3px 3px #02090f;
}

.Block_title {
    padding-left: 20px;
    color: #FFFFFF;
}

.Block_table {
    position: absolute;
    width: 100%;
    height: 100%;
}

.Current {
    background-color: black;
    box-shadow: 3px 3px 3px #02090f;
    border-radius: 5px;
    float: left;
    max-width: 35%;
    width: 35%;
    word-wrap: break-word;
    margin-top: 1%;
    margin-left: 2.5%;
    color: #FFFFFF;
}

#block-animated {
    background-color: #1F242B;
    position: relative;
    box-shadow: 3px 3px 3px #02090f;
    border-radius: 5px;
    float: left;
    clear: left;
    max-width: 90%;
    width: 90%;
    max-height: 250px;
    height: 200px;
    word-wrap: break-word;
    margin-top: 1%;
    margin-left: 5%;
    margin-bottom: 1.5%;
}

#block-container {
    /*border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
    border-left: 5px solid #17c1df;
    min-height: 150px;*/
    position: relative;
    width: 100%;
    top: 0;
    margin-left: 1%;
    margin-top: 2%;
    color: #17c1df;
}

.blk {
    border-radius: 4px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #17c1df;
    color: #fff;
    margin: 5px;
}

.blk:hover {
    cursor: pointer;
}

.Current_info {
    padding-left: 20px;
    font-size: 120%;
    background-color: rgb(61, 61, 61);
    padding-top: 10px;
    padding-bottom: 5px;
}

.Search {
    background-color: black;
    box-shadow: 3px 3px 3px #02090f;
    border-radius: 5px;
    float: left;
    max-width: 35%;
    width: 35%;
    margin-top: 2.5%;
    margin-left: 2.5%;
    display: none;
}

.Panel {
    background-color: dimgray;
    border-radius: 5px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    margin-top: 20px;
    padding-top: 10px;
    margin-bottom: -20px !important;
}

.Search_top {
    padding-left: 20px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.Results {
    padding-left: 20px;
    font-size: 130%;
    box-shadow: 3px #02090f;
    color: #FFFFFF;
}

.Results_button {
    padding-bottom: 20px;
    text-align: center;
    font-size: 300%;
    box-shadow: 3px 3px 3px #02090f;
}

.Submit {
    width: 280px;
    height: 40px;
}

.Submit:hover {
    cursor: pointer;
}

.Network {
    background-color: black;
    border-radius: 10px;
    margin-top: 2.5%;
    float: left;
    max-width: 35%;
    width: 35%;
    margin-left: 2.5%;
    padding-bottom: 30px;
    margin-bottom: 30px;
    box-shadow: 3px 3px 3px #02090f;
    color: #FFFFFF;
}

#network-animated {
    background-color: black;
    border-radius: 10px;
    margin-top: 2.5%;
    float: left;
    width: 35%;
    height: 265px;
    margin-left: 2.5%;
    padding-bottom: 30px;
    margin-bottom: 30px;
    box-shadow: 3px 3px 3px #02090f;
    color: #FFFFFF;
    display: none;
}

.Network_child {
    text-align: center;
}

.Graph {
    box-shadow: 3px 3px 3px #02090f;
    height: auto;
    float: left;
    width: 90%;
    background-color: black;
    margin-left: 5%;
    margin-bottom: 30px;
    border-radius: 5px;
    display: none;
}

.Graph h2 {
    padding-left: 20px;
    font-size: 150%;
}

.Performance {
    background-color: dimgrey;
    float: left;
    color: #FFFFFF;
    border-radius: 5px;
    height: 300px;
    width: 30.5%;
    max-width: 30.5%;
    margin-left: 1.5%;
    box-shadow: 3px 3px 3px #02090f;
}

.Chaincode {
    float: left;
    width: 31.25%;
    height: 300px;
    max-width: 31.25%;
    background-color: #353F4D;
    color: #FFFFFF;
    border-radius: 5px;
    margin-left: 2.5%;
    box-shadow: 3px 3px 3px #02090f;
}

.Volume {
    float: left;
    width: 31.25%;
    height: 300px;
    max-width: 31.25%;
    background-color: #353F4D;
    color: #FFFFFF;
    border-radius: 5px;
    margin-left: 2.5%;
    box-shadow: 3px 3px 3px #02090f;
}

.Symbol {
    font-weight: bold;
    margin: 0;
    color: orange;
    margin-bottom: -14%;
}

.Data {
    font-size: 200%;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

.Symbol2 {
    font-weight: bold;
    color: #24B3DC;
    font-size: 120%;
    text-align: right;
    margin-top: -14%;
}

.Latency {
    float: left;
    margin-left: 5%;
    width: 32.5%;
    max-width: 32.5%;
}

.Latency h3 {
    padding-bottom: 5%;
    padding-top: 5%;
}

.Latency hr {
    margin-bottom: 25%;
    margin-top: 15%;
}

.TxRate {
    float: left;
    margin-left: 5%;
    width: 32.5%;
    max-width: 32.5%;
}

.TxRate h3 {
    padding-bottom: 5%;
    padding-top: 5%;
}

.TxRate hr {
    margin-bottom: 25%;
    margin-top: 15%;
}

.MineRate {
    float: left;
    margin-left: 5%;
    width: 32.5%;
    max-width: 32.5%;
}

.MineRate h3 {
    padding-bottom: 5%;
    padding-top: 5%;
}

.MineRate hr {
    margin-bottom: 25%;
    margin-top: 15%;
}

.Chaincode p {
    font-size: 130%;
}

.Volume p {
    font-size: 130%;
}

.chart {
    background: #1F242B;
    padding: 3px;
    margin-right: 5%;
    border-radius: 5px;
    margin-top: 5%;
    box-shadow: 2px 2px 2px #666;
    height: 120px;
}

.chart div {
    width: 0;
    transition: all 1s ease-out;
}

.chart div {
    max-width: 90%;
    font: 10px sans-serif;
    background-color: #103E69;
    text-align: right;
    padding: 3px;
    margin: 5px;
    color: white;
}

.Top {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    background-color: rgb(61, 61, 61);
    padding-top: 1px;
    padding-bottom: 1px;
    border-bottom: 1px solid black;
    margin-left: -5px;
}

.Graph2 {
    float: right;
    overflow: scroll;
    overflow-y: hidden;
    position: relative;
    color: #FFFFFF;
    width: 46.25%;
    max-width: 46.25%;
    margin-top: 5%;
    margin-right: 2.5%;
    margin-bottom: 5%;
    background-color: #353F4D;
    box-shadow: 3px 3px 3px #02090f;
}

.Graph2-content {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
}

#tx_rate_cont {
    background-color: dimgray;
    float: left;
    color: #FFFFFF;
    border-radius: 5px;
    height: 300px;
    width: 30.5%;
    max-width: 30.5%;
    margin-left: 2.5%;
    box-shadow: 3px 3px 3px #02090f;
    padding-left: 5px;
}

#blk_rate_cont {
    background-color: dimgray;
    float: left;
    color: #FFFFFF;
    border-radius: 5px;
    height: 300px;
    width: 30.5%;
    max-width: 30.5%;
    margin-left: 2.5%;
    box-shadow: 3px 3px 3px #02090f;
    padding-left: 5px;
}

#blk_tx_cont {
    background-color: dimgray;
    float: left;
    color: #FFFFFF;
    border-radius: 5px;
    height: 300px;
    width: 30.5%;
    max-width: 30.5%;
    margin-left: 1.5%;
    box-shadow: 3px 3px 3px #02090f;
    padding-left: 5px;
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
}

#ch_tx_cont {
    background-color: dimgray;
    float: left;
    color: #FFFFFF;
    border-radius: 5px;
    height: 300px;
    width: 30.5%;
    max-width: 30.5%;
    margin-left: 2.0%;
    box-shadow: 3px 3px 3px #02090f;
    position: relative;
    margin-top: 20px;
    padding-left: 5px;
}

#ch_tx {
    display: none !important;
}

#appr_tx_cont {
    background-color: dimgray;
    float: left;
    color: #FFFFFF;
    border-radius: 5px;
    height: 300px;
    width: 30.5%;
    max-width: 30.5%;
    margin-left: 2.5%;
    box-shadow: 3px 3px 3px #02090f;
    position: relative;
    margin-top: 20px;
    padding-left: 5px;
}

#appr_tx {
    display: none !important;
}

#tx_rate_1 {
    background: #1F242B;
    width: 90%;
    height: 200px;
    width: 200px;
    margin-left: 5%;
    margin-top: 20px;
    box-shadow: 2px 2px 2px #666;
}

#bar_graph {
    background: #1F242B;
    height: 400px;
    width: 500px;
    margin-left: 5%;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 2px 2px 2px #666;
}

.x.axis {
    fill: #FFFFFF;
}

.y.axis {
    fill: #FFFFFF;
}

.Trans {
    box-shadow: 3px 3px 3px #02090f;
    border-radius: 5px;
    float: left;
    width: 90%;
    background-color: black;
    word-wrap: break-word;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 30px;
}

.Loading_symbol {
    text-align: center;
    font-size: 200%;
}

.modalDialog {
    transition: all 2.5s;
    position: fixed;
    font-size: 80%;
    font-family: Arial, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: black;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 400ms ease-in;
    pointer-events: none;
    overflow: scroll;
    scroll-behavior: auto;
    word-wrap: break-word;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.modalDialog:target {
    opacity: 1;
    pointer-events: all;
    z-index: 100;
}

.modalDialog>div {
    width: 700px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 5px;
    background: rgb(61, 61, 61);
    color: #FFFFFF;
}

.close {
    border: 1px solid black;
    cursor: pointer;
    background: gainsboro;
    color: #000;
    line-height: 25px;
    position: absolute;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 1px 1px 3px #000;
    padding: 14px 16px;
    right: -12px;
    text-align: center;
    top: -10px;
    outline: 0;
    font-size: 150%;
}

body {
    font-size: 75%;
    word-wrap: break-word;
    margin: 0;
    z-index: -1;
    //background-color: #333d47;
    background-color: lightgray;
    color: #000;
}

footer {
    margin: 0;
    float: left;
    width: 100%;
    height: 70px;
    background-color: black;
    //background-image: url('image.png');
    background-size: 100% 1000%;
    background-position: -30px -100px;
}

.Footer_content {
    padding-top: 20px;
    font-size: 150%;
    font-weight: bolder;
    text-decoration: none;
    text-align: center;
    color: #FFFFFF;
    outline: 0;
    width: 90%;
    margin-right: 5%;
    margin-left: 5%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    max-width: 100%;
    width: 100%;
    word-wrap: break-word;
    border-radius: 6px;
    text-align: center;
    border-left: 1px solid rgb(141, 141, 141);
    font-family: "Copperplate Gothic Light";
}

table th {
    padding: 10px;
    background-color: rgb(61, 61, 61);
    color: white;
    text-align: center;
}

table td {
    padding: 10px;
}

table tr:hover {
    background-color: dimgray;
    color: snow;
    //font-weight: bold;
}

table tr {
    border-bottom: 1px solid black !important;
    border-radius: 6px;
}

tr:nth-child(even) {
    background-color: darkgrey;
    color: #000;
}

tr:nth-child(odd) {
    background-color: gainsboro;
    color: #000;
}


/*tr:first-child{
   background-color:#353F4D;
   color:#FFFFFF; 
}*/

table.PerfData {
    width: 100%;
    color: white;
    font-size: 120%!important;
}

table.PerfData td.param {
    width: 50%;
    text-align: right;
    font-weight: bold;
}

table.PerfData td.val {
    width: 50%;
    text-align: left;
}

table.PerfData tr,
table.PerfData tr:nth-child(even),
table.PerfData tr:nth-child(odd),
table.PerfData tr:first-child {
    border-bottom: 0px !important;
    border-radius: 6px;
    background-color: transparent;
    color: #FFFFFF;
}

span.measure {
    color: yellow;
    font-weight: bold;
}

button {
    cursor: pointer;
}

@media only screen and (max-width: 1036px) {
    .Block {
        max-width: 90% !important;
        margin-left: 5% !important;
        margin-right: 5% !important;
        width: 90% !important;
        padding: 0 !important;
    }
    .Current {
        margin-left: 5%;
        margin-top: 2.5%;
        max-width: 42.5% !important;
        width: 42.5% !important;
        padding: 0 !important;
    }
    .Search {
        float: right !important;
        margin-right: 5% !important;
        max-width: 42.5% !important;
        width: 42.5% !important;
    }
    /*.Performance{
  width:90% !important;
  max-width: 90% !important;
  margin-left:5% !important;
  margin-right:5% !important;
  height: 200px !important;
  margin-bottom:2.5%;
}*/
    .Chaincode {
        width: 90% !important;
        max-width: 90% !important;
        margin-left: 5% !important;
        margin-right: 5% !important;
        margin-bottom: 20px;
    }
    .Volume {
        width: 90% !important;
        max-width: 90% !important;
        margin-left: 5% !important;
        margin-right: 5% !important;
        margin-bottom: 2.5%;
    }
    .Capacity h3 {
        padding-bottom: 0 !important
    }
    .Capacity hr {
        margin-bottom: 25px !important;
        margin-top: 25px !important;
    }
    .Latency h3 {
        padding-bottom: 0 !important
    }
    .Latency hr {
        margin-bottom: 25px !important;
        margin-top: 25px !important;
    }
    .Symbol {
        margin-bottom: -12%;
    }
    .Graph2 {
        max-width: 90% !important;
        width: 90% !important;
        margin-right: 5% !important;
        margin-top: 0;
        margin-bottom: 2.5% !important;
    }
    .Network {
        max-width: 90% !important;
        margin-left: 5%;
        margin-right: 5%;
        width: 90% !important;
    }
    .Header {
        padding-right: 0px !important;
        margin-top: 0px !important;
        margin-bottom: 10px !important;
    }
    .modalDialog>div {
        width: 400px !important;
    }
}

@media only screen and (max-width: 700px) {
    .Search {
        max-width: 90% !important;
        margin-left: 5% !important;
        margin-right: 5% !important;
        width: 90% !important;
        padding: 0 !important;
        background-repeat: no-repeat !important;
    }
    .Current {
        max-width: 90% !important;
        margin-left: 5% !important;
        margin-right: 5% !important;
        width: 90% !important;
    }
    .Network {
        padding: 0 !important;
    }
    .Header {
        margin-top: -30px !important;
        margin-bottom: -20px !important;
        background-repeat: no-repeat !important;
        background-size: 100% 200% !important;
    }
    table {
        border-bottom: 0;
    }
    table thead {
        display: none;
    }
    table tr {
        display: block;
    }
    table td {
        display: block;
        text-align: right;
        font-size: 13px;
    }
    table td:last-child {
        border-bottom: 0;
    }
    table td:before {
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        font-weight: bold;
    }
}


/* The starting CSS styles for the enter animation */

.fade {
    -webkit-animation: color-change 1s 3;
    -webkit-animation-name: fade;
    /* Chrome, Safari, Opera */
    animation-name: fade;
    -moz-animation: color-change 1s 3;
    -o-animation: color-change 1s 3;
    -ms-animation: color-change 1s 3;
    animation: color-change 1s 3;
}

@-webkit-keyframes color-change {
    0% {
        color: black;
    }
    25% {
        color: brown;
    }
    50% {
        color: green;
    }
    75% {
        color: yellowgreen;
    }
    100% {
        color: darkslategrey;
    }
}

@-moz-keyframes color-change {
    0% {
        color: black;
    }
    25% {
        color: red;
    }
    50% {
        color: black;
    }
    75% {
        color: red;
    }
    100% {
        color: black;
    }
}

@-ms-keyframes color-change {
    0% {
        color: black;
    }
    10% {
        color: darkslategray;
    }
    20% {
        color: dimgray;
    }
    30% {
        color: black;
    }
    40% {
        color: darkslategray;
    }
    50% {
        color: dimgray;
    }
    60% {
        color: black;
    }
    70% {
        color: darkslategray;
    }
    80% {
        color: dimgray;
    }
    90% {
        color: darkslategray;
    }
    100% {
        color: black;
    }
}

@-o-keyframes color-change {
    0% {
        color: black;
    }
    10% {
        color: darkslategray;
    }
    20% {
        color: dimgray;
    }
    30% {
        color: black;
    }
    40% {
        color: darkslategray;
    }
    50% {
        color: dimgray;
    }
    60% {
        color: black;
    }
    70% {
        color: darkslategray;
    }
    80% {
        color: dimgray;
    }
    90% {
        color: darkslategray;
    }
    100% {
        color: black;
    }
}

@keyframes color-change {
    0% {
        color: black;
    }
    10% {
        color: darkslategray;
    }
    20% {
        color: dimgray;
    }
    30% {
        color: black;
    }
    40% {
        color: darkslategray;
    }
    50% {
        color: dimgray;
    }
    60% {
        color: black;
    }
    70% {
        color: darkslategray;
    }
    80% {
        color: dimgray;
    }
    90% {
        color: darkslategray;
    }
    100% {
        color: black;
    }
}

button {
    color: white;
    border-radius: 4px;
    text-shadow: 0 1px 1px gray;
    background: gray;
}

button:hover {
    color: white;
    border-radius: 4px;
    text-shadow: 0 1px 1px steelblue;
    background: steelblue;
}